package com.flh.crm.settings.domain;

/**
 * 用户表
 */
public class User {
    /*
    * 关于字符串中表现的日期及时间我们在市场上常用的两种方式
    * 日期：年月日
    * yyyy-MM-dd 10 位字符串
    *
    * 日期+时间 年月日时分秒 19位字符串
    * yyyy-MM-dd HH:mm:ss
    *
    * */
    /**
     * 关于登录
     *      验证账号密码
     *      User user = 执行select * from tbl_user where loginAct=? and loginPwd=?
     *      user 对象为null 说明密码错误
     *      如果user 对象不为null 说明密码账号正确
     *      需要继续别的字段验证
     *      从user中get到
     *      expireTime 验证失效时间
     *      lookState 验证锁定时间
     *      allowIps 验证有效ip
     *
     *
     */
    private String id; //编号
    private String loginAct;//登录账号
    private String name;//用户的真实姓名
    private String loginPwd;//登录密码
    private String email;//邮箱
    private String expireTime;//失效时间
    private String lockState;//锁定状态 0 1
    private String deptno;//部门编号
    private String allowIps;//允许访问ip
    private String createTime;//创建时间
    private String createBy;//创建人
    private String editTime;//修改时间
    private String editBy;//修改人
    private String primary;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginAct() {
        return loginAct;
    }

    public void setLoginAct(String loginAct) {
        this.loginAct = loginAct;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }

    public String getLockState() {
        return lockState;
    }

    public void setLockState(String lockState) {
        this.lockState = lockState;
    }

    public String getDeptno() {
        return deptno;
    }

    public void setDeptno(String deptno) {
        this.deptno = deptno;
    }

    public String getAllowIps() {
        return allowIps;
    }

    public void setAllowIps(String allowIps) {
        this.allowIps = allowIps;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public String getEditBy() {
        return editBy;
    }

    public void setEditBy(String editBy) {
        this.editBy = editBy;
    }

    public String getPrimary() {
        return primary;
    }

    public void setPrimary(String primary) {
        this.primary = primary;
    }
}
